package com.woniuxy.happylife.auth.dao;

import com.woniuxy.happylife.entity.User;
import org.apache.ibatis.annotations.Param;

/**
 * @Title: LoginDao
 * @ProjectName: happy-life
 * @Description: TODO
 * @Author: chowinggum
 * @Date: 2022/2/16 20:51
 */
public interface LoginDao {
    User findByUsernameAndPassword(@Param("username") String username, @Param("mpassword") String password);
    int enroll (@Param("username") String username, @Param("mpassword") String password);
}
